package com.ruoyi.business.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("我的优惠券对象")
public class AppMyCouponVo {

    @ApiModelProperty("优惠劵名称")
    private String name;


    @ApiModelProperty("有效期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;


    @ApiModelProperty("有效期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;


    @ApiModelProperty("优惠券面额")
    private BigDecimal denomination;

    @ApiModelProperty("满足多少元可用")
    private BigDecimal conditionPrice;


    @ApiModelProperty("优惠券使用说明")
    private String useIntroduce;
}
